home *** CD-ROM | disk | FTP | other *** search
/ Linux Cubed Series 2: Applications / Linux Cubed Series 2 - Applications.iso / editors / emacs / xemacs / xemacs-1.006 / xemacs-1 / lib / xemacs-19.13 / lisp / dired / dired-cd.elc < prev    next >
Emacs Compiled Lisp  |  1995-08-29  |  4.1 KB

open in: MacOS 8.1     |     Win98     |     DOS

view JSON data     |     view as text


This file was processed as: Emacs Compiled Lisp (other/emacsCompiledLisp).
This format is not currently supported by dexvert.

ConfidenceProgramDetectionMatch TypeSupport
1% dexvert Emacs Compiled Lisp (other/emacsCompiledLisp) magic Unsupported
1% dexvert Combustion 2 Particle Library (other/combustion2ParticleLibrary) ext Unsupported
100% file Emacs/XEmacs v19 byte-compiled Lisp data default
99% file data default
100% TrID Emacs/XEmacs byte-compiled Lisp (generic) default
100% xdgMime text/x-emacs-lisp default (weak)



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 3b 45 4c 43 13 00 00 00 | 0a 3b 3b 3b 20 63 6f 6d |;ELC....|.;;; com|
|00000010| 70 69 6c 65 64 20 62 79 | 20 63 74 68 6f 6d 70 40 |piled by| cthomp@|
|00000020| 77 69 6c 6c 6f 77 2e 63 | 73 2e 75 69 75 63 2e 65 |willow.c|s.uiuc.e|
|00000030| 64 75 20 6f 6e 20 54 75 | 65 20 41 75 67 20 32 39 |du on Tu|e Aug 29|
|00000040| 20 31 33 3a 35 35 3a 32 | 39 20 31 39 39 35 0a 3b | 13:55:2|9 1995.;|
|00000050| 3b 3b 20 66 72 6f 6d 20 | 66 69 6c 65 20 2f 78 65 |;; from |file /xe|
|00000060| 6d 61 63 73 2f 78 65 6d | 61 63 73 2d 31 39 2e 31 |macs/xem|acs-19.1|
|00000070| 33 2d 72 65 6c 65 61 73 | 65 2f 65 64 69 74 6f 72 |3-releas|e/editor|
|00000080| 2f 6c 69 73 70 2f 64 69 | 72 65 64 2f 64 69 72 65 |/lisp/di|red/dire|
|00000090| 64 2d 63 64 2e 65 6c 0a | 3b 3b 3b 20 65 6d 61 63 |d-cd.el.|;;; emac|
|000000a0| 73 20 76 65 72 73 69 6f | 6e 20 31 39 2e 31 33 20 |s versio|n 19.13 |
|000000b0| 58 45 6d 61 63 73 20 4c | 75 63 69 64 2e 0a 3b 3b |XEmacs L|ucid..;;|
|000000c0| 3b 20 62 79 74 65 63 6f | 6d 70 20 76 65 72 73 69 |; byteco|mp versi|
|000000d0| 6f 6e 20 32 2e 32 35 3b | 20 31 2d 53 65 70 2d 39 |on 2.25;| 1-Sep-9|
|000000e0| 34 2e 0a 3b 3b 3b 20 6f | 70 74 69 6d 69 7a 61 74 |4..;;; o|ptimizat|
|000000f0| 69 6f 6e 20 69 73 20 6f | 6e 2e 0a 3b 3b 3b 20 74 |ion is o|n..;;; t|
|00000100| 68 69 73 20 66 69 6c 65 | 20 75 73 65 73 20 6f 70 |his file| uses op|
|00000110| 63 6f 64 65 73 20 77 68 | 69 63 68 20 64 6f 20 6e |codes wh|ich do n|
|00000120| 6f 74 20 65 78 69 73 74 | 20 69 6e 20 45 6d 61 63 |ot exist| in Emac|
|00000130| 73 20 31 38 2e 0a 0a 28 | 69 66 20 28 61 6e 64 20 |s 18...(|if (and |
|00000140| 28 62 6f 75 6e 64 70 20 | 27 65 6d 61 63 73 2d 76 |(boundp |'emacs-v|
|00000150| 65 72 73 69 6f 6e 29 0a | 09 20 28 6f 72 20 28 61 |ersion).|. (or (a|
|00000160| 6e 64 20 28 62 6f 75 6e | 64 70 20 27 65 70 6f 63 |nd (boun|dp 'epoc|
|00000170| 68 3a 3a 76 65 72 73 69 | 6f 6e 29 20 65 70 6f 63 |h::versi|on) epoc|
|00000180| 68 3a 3a 76 65 72 73 69 | 6f 6e 29 0a 09 20 20 20 |h::versi|on).. |
|00000190| 20 20 28 73 74 72 69 6e | 67 2d 6c 65 73 73 70 20 | (strin|g-lessp |
|000001a0| 65 6d 61 63 73 2d 76 65 | 72 73 69 6f 6e 20 22 31 |emacs-ve|rsion "1|
|000001b0| 39 22 29 29 29 0a 20 20 | 20 20 28 65 72 72 6f 72 |9"))). | (error|
|000001c0| 20 22 54 68 69 73 20 66 | 69 6c 65 20 77 61 73 20 | "This f|ile was |
|000001d0| 63 6f 6d 70 69 6c 65 64 | 20 66 6f 72 20 45 6d 61 |compiled| for Ema|
|000001e0| 63 73 20 31 39 2e 22 29 | 29 0a 0a 28 64 65 66 76 |cs 19.")|)..(defv|
|000001f0| 61 72 20 64 69 72 65 64 | 2d 63 64 2d 73 61 6d 65 |ar dired|-cd-same|
|00000200| 2d 73 75 62 64 69 72 20 | 6e 69 6c 20 22 5c 0a 2a |-subdir |nil "\.*|
|00000210| 49 66 20 6e 6f 6e 2d 6e | 69 6c 2c 20 61 6e 64 20 |If non-n|il, and |
|00000220| 73 65 6c 65 63 74 65 64 | 20 66 69 6c 65 28 73 29 |selected| file(s)|
|00000230| 20 28 62 79 20 6d 61 72 | 6b 73 2c 20 6e 75 6d 65 | (by mar|ks, nume|
|00000240| 72 69 63 20 61 72 67 2c | 20 5c 5c 5b 75 6e 69 76 |ric arg,| \\[univ|
|00000250| 65 72 73 61 6c 2d 61 72 | 67 75 6d 65 6e 74 5d 29 |ersal-ar|gument])|
|00000260| 20 61 72 65 20 69 6e 20 | 73 61 6d 65 0a 73 75 62 | are in |same.sub|
|00000270| 64 69 72 2c 20 63 61 75 | 73 65 73 20 64 69 72 65 |dir, cau|ses dire|
|00000280| 64 20 73 68 65 6c 6c 20 | 63 6f 6d 6d 61 6e 64 20 |d shell |command |
|00000290| 74 6f 20 72 75 6e 20 69 | 6e 20 74 68 61 74 20 73 |to run i|n that s|
|000002a0| 75 62 64 69 72 2e 20 20 | 46 69 6c 65 6e 61 6d 65 |ubdir. |Filename|
|000002b0| 73 20 70 72 6f 76 69 64 | 65 64 0a 74 6f 20 73 68 |s provid|ed.to sh|
|000002c0| 65 6c 6c 20 63 6f 6d 6d | 61 6e 64 73 20 61 72 65 |ell comm|ands are|
|000002d0| 20 73 74 72 69 70 70 65 | 64 20 6f 66 20 74 68 65 | strippe|d of the|
|000002e0| 69 72 20 64 69 72 65 63 | 74 6f 72 79 20 63 6f 6d |ir direc|tory com|
|000002f0| 70 6f 6e 65 6e 74 73 2e | 20 20 44 6f 65 73 20 6e |ponents.| Does n|
|00000300| 6f 74 0a 61 66 66 65 63 | 74 20 62 65 68 61 76 69 |ot.affec|t behavi|
|00000310| 6f 72 20 6f 66 20 6f 6e | 2d 65 61 63 68 2c 20 66 |or of on|-each, f|
|00000320| 6f 72 20 74 68 61 74 20 | 73 65 65 20 76 61 72 69 |or that |see vari|
|00000330| 61 62 6c 65 20 64 69 72 | 65 64 2d 63 64 2d 6f 6e |able dir|ed-cd-on|
|00000340| 2d 65 61 63 68 2e 22 29 | 0a 28 64 65 66 76 61 72 |-each.")|.(defvar|
|00000350| 20 64 69 72 65 64 2d 63 | 64 2d 6f 6e 2d 65 61 63 | dired-c|d-on-eac|
|00000360| 68 20 6e 69 6c 20 22 5c | 0a 2a 49 66 20 6e 6f 6e |h nil "\|.*If non|
|00000370| 2d 6e 69 6c 2c 20 6f 6e | 2d 65 61 63 68 20 63 61 |-nil, on|-each ca|
|00000380| 75 73 65 73 20 65 61 63 | 68 20 64 69 72 65 64 20 |uses eac|h dired |
|00000390| 73 68 65 6c 6c 20 63 6f | 6d 6d 61 6e 64 20 74 6f |shell co|mmand to|
|000003a0| 20 72 75 6e 20 69 6e 20 | 74 68 65 20 0a 66 69 6c | run in |the .fil|
|000003b0| 65 27 73 20 64 69 72 65 | 63 74 6f 72 79 2e 20 20 |e's dire|ctory. |
|000003c0| 46 69 6c 65 6e 61 6d 65 | 73 20 70 72 6f 76 69 64 |Filename|s provid|
|000003d0| 65 64 20 74 6f 20 73 68 | 65 6c 6c 20 63 6f 6d 6d |ed to sh|ell comm|
|000003e0| 61 6e 64 73 20 61 72 65 | 20 73 74 72 69 70 70 65 |ands are| strippe|
|000003f0| 64 20 6f 66 20 0a 74 68 | 65 69 72 20 64 69 72 65 |d of .th|eir dire|
|00000400| 63 74 6f 72 79 20 63 6f | 6d 70 6f 6e 65 6e 74 73 |ctory co|mponents|
|00000410| 2e 20 20 41 6c 73 6f 20 | 73 65 65 20 76 61 72 69 |. Also |see vari|
|00000420| 61 62 6c 65 20 64 69 72 | 65 64 2d 63 64 2d 73 61 |able dir|ed-cd-sa|
|00000430| 6d 65 2d 73 75 62 64 69 | 72 2e 22 29 0a 28 66 73 |me-subdi|r.").(fs|
|00000440| 65 74 20 27 64 69 72 65 | 64 2d 64 6f 2d 73 68 65 |et 'dire|d-do-she|
|00000450| 6c 6c 2d 63 6f 6d 6d 61 | 6e 64 20 23 5b 28 26 6f |ll-comma|nd #[(&o|
|00000460| 70 74 69 6f 6e 61 6c 20 | 61 72 67 20 69 6e 2d 62 |ptional |arg in-b|
|00000470| 61 63 6b 67 72 6f 75 6e | 64 29 20 22 08 c1 9a 1a |ackgroun|d) "....|
|00000480| c3 c4 5c 6e 3f ad 81 08 | 5c 22 1d 0e 06 ab 83 c7 |..\n?...|\"......|
|00000490| aa 81 c8 5c 6e ab 84 0e | 09 ac 8c 0e 5c 6e ab 8b |...\n...|....\n..|
|000004a0| 5c 6e ac 88 cb 0d 21 ab | 83 cc aa 81 cd ce 5c 6e |\n....!.|......\n|
|000004b0| ab 83 cf aa 81 cd d0 b0 | 05 1e 11 d2 0e 11 5c 6e |........|......\n|
|000004c0| 3f ad 81 08 0d 23 1e 13 | d4 0e 13 0d 5c 6e 08 24 |?....#..|....\n.$|
|000004d0| 1e 15 d6 0e 15 0e 06 5c | 22 2d 87 22 20 5b 61 72 |.......\|"-." [ar|
|000004e0| 67 20 30 20 6f 6e 2d 65 | 61 63 68 20 64 69 72 65 |g 0 on-e|ach dire|
|000004f0| 64 2d 6d 61 72 6b 2d 67 | 65 74 2d 66 69 6c 65 73 |d-mark-g|et-files|
|00000500| 20 74 20 66 69 6c 65 2d | 6c 69 73 74 20 69 6e 2d | t file-|list in-|
|00000510| 62 61 63 6b 67 72 6f 75 | 6e 64 20 22 26 20 22 20 |backgrou|nd "& " |
|00000520| 22 21 20 22 20 64 69 72 | 65 64 2d 63 64 2d 6f 6e |"! " dir|ed-cd-on|
|00000530| 2d 65 61 63 68 20 64 69 | 72 65 64 2d 63 64 2d 73 |-each di|red-cd-s|
|00000540| 61 6d 65 2d 73 75 62 64 | 69 72 20 64 69 72 65 64 |ame-subd|ir dired|
|00000550| 2d 66 69 6c 65 73 2d 73 | 61 6d 65 2d 64 69 72 65 |-files-s|ame-dire|
|00000560| 63 74 6f 72 79 20 22 63 | 64 20 3c 64 69 72 3e 3b |ctory "c|d <dir>;|
|00000570| 20 22 20 22 22 20 22 6f | 6e 20 22 20 22 65 61 63 | " "" "o|n " "eac|
|00000580| 68 20 22 20 22 25 73 3a | 20 22 20 70 72 6f 6d 70 |h " "%s:| " promp|
|00000590| 74 20 64 69 72 65 64 2d | 72 65 61 64 2d 73 68 65 |t dired-|read-she|
|000005a0| 6c 6c 2d 63 6f 6d 6d 61 | 6e 64 20 63 6f 6d 6d 61 |ll-comma|nd comma|
|000005b0| 6e 64 20 64 69 72 65 64 | 2d 63 64 2d 77 72 61 70 |nd dired|-cd-wrap|
|000005c0| 2d 69 74 20 72 65 73 75 | 6c 74 20 64 69 72 65 64 |-it resu|lt dired|
|000005d0| 2d 72 75 6e 2d 73 68 65 | 6c 6c 2d 63 6f 6d 6d 61 |-run-she|ll-comma|
|000005e0| 6e 64 5d 20 35 20 22 5c | 0a 52 75 6e 20 61 20 73 |nd] 5 "\|.Run a s|
|000005f0| 68 65 6c 6c 20 63 6f 6d | 6d 61 6e 64 20 6f 6e 20 |hell com|mand on |
|00000600| 74 68 65 20 6d 61 72 6b | 65 64 20 66 69 6c 65 73 |the mark|ed files|
|00000610| 2e 0a 49 66 20 74 68 65 | 72 65 20 69 73 20 6f 75 |..If the|re is ou|
|00000620| 74 70 75 74 2c 20 69 74 | 20 67 6f 65 73 20 74 6f |tput, it| goes to|
|00000630| 20 61 20 73 65 70 61 72 | 61 74 65 20 62 75 66 66 | a separ|ate buff|
|00000640| 65 72 2e 0a 54 68 65 20 | 6c 69 73 74 20 6f 66 20 |er..The |list of |
|00000650| 6d 61 72 6b 65 64 20 66 | 69 6c 65 73 20 69 73 20 |marked f|iles is |
|00000660| 61 70 70 65 6e 64 65 64 | 20 74 6f 20 74 68 65 20 |appended| to the |
|00000670| 63 6f 6d 6d 61 6e 64 20 | 73 74 72 69 6e 67 20 75 |command |string u|
|00000680| 6e 6c 65 73 73 20 61 73 | 74 65 72 69 73 6b 73 0a |nless as|terisks.|
|00000690| 20 20 60 2a 27 20 69 6e | 64 69 63 61 74 65 20 74 | `*' in|dicate t|
|000006a0| 68 65 20 70 6c 61 63 65 | 28 73 29 20 77 68 65 72 |he place|(s) wher|
|000006b0| 65 20 74 68 65 20 6c 69 | 73 74 20 73 68 6f 75 6c |e the li|st shoul|
|000006c0| 64 20 67 6f 2e 0a 49 66 | 20 6e 6f 20 66 69 6c 65 |d go..If| no file|
|000006d0| 73 20 61 72 65 20 6d 61 | 72 6b 65 64 20 6f 72 20 |s are ma|rked or |
|000006e0| 61 20 73 70 65 63 69 66 | 69 63 20 6e 75 6d 65 72 |a specif|ic numer|
|000006f0| 69 63 20 70 72 65 66 69 | 78 20 61 72 67 20 69 73 |ic prefi|x arg is|
|00000700| 20 67 69 76 65 6e 2c 20 | 75 73 65 73 0a 20 20 6e | given, |uses. n|
|00000710| 65 78 74 20 41 52 47 20 | 66 69 6c 65 73 2e 20 20 |ext ARG |files. |
|00000720| 57 69 74 68 20 61 20 7a | 65 72 6f 20 61 72 67 75 |With a z|ero argu|
|00000730| 6d 65 6e 74 2c 20 72 75 | 6e 20 63 6f 6d 6d 61 6e |ment, ru|n comman|
|00000740| 64 20 6f 6e 20 65 61 63 | 68 20 6d 61 72 6b 65 64 |d on eac|h marked|
|00000750| 20 66 69 6c 65 0a 20 20 | 73 65 70 61 72 61 74 65 | file. |separate|
|00000760| 6c 79 3a 20 60 63 6d 64 | 20 2a 20 66 6f 6f 27 20 |ly: `cmd| * foo' |
|00000770| 72 65 73 75 6c 74 73 20 | 69 6e 20 60 63 6d 64 20 |results |in `cmd |
|00000780| 46 31 20 66 6f 6f 3b 20 | 2e 2e 2e 3b 20 63 6d 64 |F1 foo; |...; cmd|
|00000790| 20 46 6e 20 66 6f 6f 27 | 2e 0a 20 20 41 73 20 61 | Fn foo'|.. As a|
|000007a0| 6c 77 61 79 73 2c 20 61 | 20 72 61 77 20 61 72 67 |lways, a| raw arg|
|000007b0| 20 28 5c 5c 5b 75 6e 69 | 76 65 72 73 61 6c 2d 61 | (\\[uni|versal-a|
|000007c0| 72 67 75 6d 65 6e 74 5d | 29 20 6d 65 61 6e 73 20 |rgument]|) means |
|000007d0| 74 68 65 20 63 75 72 72 | 65 6e 74 20 66 69 6c 65 |the curr|ent file|
|000007e0| 2e 0a 54 68 65 20 6f 70 | 74 69 6f 6e 20 76 61 72 |..The op|tion var|
|000007f0| 69 61 62 6c 65 73 20 64 | 69 72 65 64 2d 63 64 2d |iables d|ired-cd-|
|00000800| 73 61 6d 65 2d 73 75 62 | 64 69 72 20 61 6e 64 20 |same-sub|dir and |
|00000810| 64 69 72 65 64 2d 63 64 | 2d 6f 6e 2d 65 61 63 68 |dired-cd|-on-each|
|00000820| 0a 20 20 70 65 72 6d 69 | 74 20 74 68 65 20 63 6f |. permi|t the co|
|00000830| 6d 6d 61 6e 64 28 73 29 | 20 74 6f 20 72 75 6e 20 |mmand(s)| to run |
|00000840| 69 6e 20 74 68 65 20 66 | 69 6c 65 73 27 20 64 69 |in the f|iles' di|
|00000850| 72 65 63 74 6f 72 69 65 | 73 20 69 66 20 61 70 70 |rectorie|s if app|
|00000860| 72 6f 70 72 69 61 74 65 | 2c 0a 20 20 61 6e 64 20 |ropriate|,. and |
|00000870| 74 68 75 73 20 64 65 74 | 65 72 6d 69 6e 65 20 77 |thus det|ermine w|
|00000880| 68 65 72 65 20 6f 75 74 | 70 75 74 20 66 69 6c 65 |here out|put file|
|00000890| 73 20 61 72 65 20 63 72 | 65 61 74 65 64 2e 20 20 |s are cr|eated. |
|000008a0| 44 65 66 61 75 6c 74 20 | 69 73 20 74 6f 70 0a 20 |Default |is top. |
|000008b0| 20 64 69 72 65 63 74 6f | 72 79 2e 20 20 54 68 65 | directo|ry. The|
|000008c0| 20 70 72 6f 6d 70 74 20 | 6d 65 6e 74 69 6f 6e 73 | prompt |mentions|
|000008d0| 20 74 68 65 20 66 69 6c | 65 28 73 29 20 6f 72 20 | the fil|e(s) or |
|000008e0| 74 68 65 20 6d 61 72 6b | 65 72 2c 20 74 68 65 20 |the mark|er, the |
|000008f0| 63 64 20 73 75 62 64 69 | 72 2c 0a 20 20 61 6e 64 |cd subdi|r,. and|
|00000900| 20 74 68 65 20 6f 6e 2d | 65 61 63 68 20 66 6c 61 | the on-|each fla|
|00000910| 67 73 20 77 68 65 6e 20 | 74 68 65 79 20 61 70 70 |gs when |they app|
|00000920| 6c 79 2e 0a 4e 6f 20 61 | 75 74 6f 6d 61 74 69 63 |ly..No a|utomatic|
|00000930| 20 72 65 64 69 73 70 6c | 61 79 20 69 73 20 61 74 | redispl|ay is at|
|00000940| 74 65 6d 70 74 65 64 2c | 20 61 73 20 74 68 65 20 |tempted,| as the |
|00000950| 66 69 6c 65 20 6e 61 6d | 65 73 20 6d 61 79 20 68 |file nam|es may h|
|00000960| 61 76 65 0a 20 20 63 68 | 61 6e 67 65 64 2e 20 20 |ave. ch|anged. |
|00000970| 54 79 70 65 20 5c 5c 5b | 64 69 72 65 64 2d 64 6f |Type \\[|dired-do|
|00000980| 2d 72 65 64 69 73 70 6c | 61 79 5d 20 74 6f 20 72 |-redispl|ay] to r|
|00000990| 65 64 69 73 70 6c 61 79 | 20 74 68 65 20 6d 61 72 |edisplay| the mar|
|000009a0| 6b 65 64 20 66 69 6c 65 | 73 2e 22 20 22 50 22 5d |ked file|s." "P"]|
|000009b0| 29 0a 28 66 73 65 74 20 | 27 64 69 72 65 64 2d 63 |).(fset |'dired-c|
|000009c0| 64 2d 77 72 61 70 2d 69 | 74 20 23 5b 28 63 6f 6d |d-wrap-i|t #[(com|
|000009d0| 6d 61 6e 64 20 66 69 6c | 65 73 20 6f 6e 2d 65 61 |mand fil|es on-ea|
|000009e0| 63 68 20 26 6f 70 74 69 | 6f 6e 61 6c 20 72 61 77 |ch &opti|onal raw|
|000009f0| 29 20 22 08 ab 99 c1 1a | c3 1c c5 c6 0e 07 c8 23 |) ".....|.......#|
|00000a00| 1e 09 0c ab 86 0e 09 ca | 50 aa 82 0e 09 2b 87 0e |........|P....+..|
|00000a10| 0b ad 85 cc 0e 07 c3 5c | 22 c1 1e 0d 89 1e 0e ab |.......\|".......|
|00000a20| 96 0e 0e c1 9a ac 90 cf | d0 0e 07 5c 22 16 07 d1 |........|...\"...|
|00000a30| d2 0e 0e 21 c8 51 16 0d | 0e 0d d3 0e 14 0e 07 08 |...!.Q..|........|
|00000a40| 0e 15 24 50 2a 87 22 20 | 5b 6f 6e 2d 65 61 63 68 |..$P*." |[on-each|
|00000a50| 20 22 22 20 63 77 64 20 | 6e 69 6c 20 69 6e 2d 73 | "" cwd |nil in-s|
|00000a60| 75 62 73 68 65 6c 6c 20 | 6d 61 70 63 6f 6e 63 61 |ubshell |mapconca|
|00000a70| 74 20 23 5b 28 66 69 6c | 65 29 20 22 c0 c1 1a 1b |t #[(fil|e) "....|
|00000a80| 0c ab ac c5 c6 0e 07 21 | ae 81 c0 21 12 c8 0e 07 |.......!|...!....|
|00000a90| 21 16 07 5c 6e 0e 09 98 | ac 96 5c 6e 16 09 0e 5c |!..\n...|..\n...\|
|00000aa0| 6e ab 83 cb aa 81 c0 cc | cd 0e 09 21 ce 52 13 cf |n.......|...!.R..|
|00000ab0| 16 5c 6e 0b d0 0e 11 0e | 07 43 0e 12 0e 13 24 50 |.\n.....|.C....$P|
|00000ac0| 2a 87 22 20 5b 22 22 20 | 6e 69 6c 20 64 20 63 64 |*." ["" |nil d cd|
|00000ad0| 20 64 69 72 65 64 2d 63 | 64 2d 6f 6e 2d 65 61 63 | dired-c|d-on-eac|
|00000ae0| 68 20 64 69 72 65 63 74 | 6f 72 79 2d 66 69 6c 65 |h direct|ory-file|
|00000af0| 2d 6e 61 6d 65 20 66 69 | 6c 65 2d 6e 61 6d 65 2d |-name fi|le-name-|
|00000b00| 64 69 72 65 63 74 6f 72 | 79 20 66 69 6c 65 20 66 |director|y file f|
|00000b10| 69 6c 65 2d 6e 61 6d 65 | 2d 6e 6f 6e 64 69 72 65 |ile-name|-nondire|
|00000b20| 63 74 6f 72 79 20 63 77 | 64 20 69 6e 2d 73 75 62 |ctory cw|d in-sub|
|00000b30| 73 68 65 6c 6c 20 22 29 | 3b 20 22 20 22 28 63 64 |shell ")|; " "(cd|
|00000b40| 20 22 20 73 68 65 6c 6c | 2d 71 75 6f 74 65 20 22 | " shell|-quote "|
|00000b50| 3b 20 22 20 74 20 64 69 | 72 65 64 2d 73 68 65 6c |; " t di|red-shel|
|00000b60| 6c 2d 73 74 75 66 66 2d | 69 74 20 63 6f 6d 6d 61 |l-stuff-|it comma|
|00000b70| 6e 64 20 6f 6e 2d 65 61 | 63 68 20 72 61 77 5d 20 |nd on-ea|ch raw] |
|00000b80| 36 5d 20 66 69 6c 65 73 | 20 22 3b 20 22 20 63 6d |6] files| "; " cm|
|00000b90| 64 20 22 29 22 20 64 69 | 72 65 64 2d 63 64 2d 73 |d ")" di|red-cd-s|
|00000ba0| 61 6d 65 2d 73 75 62 64 | 69 72 20 64 69 72 65 64 |ame-subd|ir dired|
|00000bb0| 2d 66 69 6c 65 73 2d 73 | 61 6d 65 2d 64 69 72 65 |-files-s|ame-dire|
|00000bc0| 63 74 6f 72 79 20 63 64 | 20 73 61 6d 65 2d 64 69 |ctory cd| same-di|
|00000bd0| 72 20 6d 61 70 63 61 72 | 20 66 69 6c 65 2d 6e 61 |r mapcar| file-na|
|00000be0| 6d 65 2d 6e 6f 6e 64 69 | 72 65 63 74 6f 72 79 20 |me-nondi|rectory |
|00000bf0| 22 63 64 20 22 20 73 68 | 65 6c 6c 2d 71 75 6f 74 |"cd " sh|ell-quot|
|00000c00| 65 20 64 69 72 65 64 2d | 73 68 65 6c 6c 2d 73 74 |e dired-|shell-st|
|00000c10| 75 66 66 2d 69 74 20 63 | 6f 6d 6d 61 6e 64 20 72 |uff-it c|ommand r|
|00000c20| 61 77 5d 20 37 20 22 5c | 0a 41 72 67 73 20 43 4f |aw] 7 "\|.Args CO|
|00000c30| 4d 4d 41 4e 44 20 46 49 | 4c 45 53 20 4f 4e 2d 45 |MMAND FI|LES ON-E|
|00000c40| 41 43 48 20 26 6f 70 74 | 69 6f 6e 61 6c 20 52 41 |ACH &opt|ional RA|
|00000c50| 57 2d 41 52 47 2c 20 6c | 69 6b 65 20 64 69 72 65 |W-ARG, l|ike dire|
|00000c60| 64 2d 73 68 65 6c 6c 2d | 73 74 75 66 66 2d 69 74 |d-shell-|stuff-it|
|00000c70| 2e 0a 43 61 6c 6c 73 20 | 64 69 72 65 64 2d 73 68 |..Calls |dired-sh|
|00000c80| 65 6c 6c 2d 73 74 75 66 | 66 2d 69 74 2c 20 62 75 |ell-stuf|f-it, bu|
|00000c90| 74 20 77 72 61 70 73 20 | 74 68 65 20 72 65 73 75 |t wraps |the resu|
|00000ca0| 6c 74 69 6e 67 20 63 6f | 6d 6d 61 6e 64 28 73 29 |lting co|mmand(s)|
|00000cb0| 0a 77 69 74 68 20 5c 22 | 63 64 20 3c 64 69 72 3e |.with \"|cd <dir>|
|00000cc0| 5c 22 20 63 6f 6d 6d 61 | 6e 64 73 20 77 68 65 6e |\" comma|nds when|
|00000cd0| 20 61 70 70 72 6f 70 72 | 69 61 74 65 2e 20 20 4e | appropr|iate. N|
|00000ce0| 6f 74 65 3a 20 77 68 65 | 6e 20 4f 4e 2d 45 41 43 |ote: whe|n ON-EAC|
|00000cf0| 48 20 69 73 20 6e 6f 6e | 2d 6e 69 6c 2c 20 0a 64 |H is non|-nil, .d|
|00000d00| 69 72 65 64 2d 73 68 65 | 6c 6c 2d 73 74 75 66 66 |ired-she|ll-stuff|
|00000d10| 2d 69 74 20 69 73 20 63 | 61 6c 6c 65 64 20 6f 6e |-it is c|alled on|
|00000d20| 63 65 20 66 6f 72 20 65 | 61 63 68 20 66 69 6c 65 |ce for e|ach file|
|00000d30| 20 69 6e 20 46 49 4c 45 | 53 2e 0a 53 65 65 20 64 | in FILE|S..See d|
|00000d40| 6f 63 75 6d 65 6e 74 61 | 74 69 6f 6e 20 6f 66 20 |ocumenta|tion of |
|00000d50| 76 61 72 69 61 62 6c 65 | 73 20 64 69 72 65 64 2d |variable|s dired-|
|00000d60| 63 64 2d 73 61 6d 65 2d | 73 75 62 64 69 72 20 61 |cd-same-|subdir a|
|00000d70| 6e 64 20 64 69 72 65 64 | 2d 63 64 2d 6f 6e 2d 65 |nd dired|-cd-on-e|
|00000d80| 61 63 68 20 0a 66 6f 72 | 20 77 72 61 70 20 63 6f |ach .for| wrap co|
|00000d90| 6e 64 69 74 69 6f 6e 73 | 2e 22 5d 29 0a 28 66 73 |nditions|."]).(fs|
|00000da0| 65 74 20 27 64 69 72 65 | 64 2d 66 69 6c 65 73 2d |et 'dire|d-files-|
|00000db0| 73 61 6d 65 2d 64 69 72 | 65 63 74 6f 72 79 20 23 |same-dir|ectory #|
|00000dc0| 5b 28 66 69 6c 65 2d 6c | 69 73 74 20 26 6f 70 74 |[(file-l|ist &opt|
|00000dd0| 69 6f 6e 61 6c 20 61 62 | 73 6f 6c 75 74 65 29 20 |ional ab|solute) |
|00000de0| 22 c0 09 40 21 1a c3 c4 | c5 09 5c 22 3e 3f ad 98 |"..@!...|..\">?..|
|00000df0| c6 0e 07 ab 88 5c 6e ab | 8b c8 5c 6e 21 ab 86 5c |.....\n.|..\n!..\|
|00000e00| 6e ae 87 c9 aa 84 0e 5c | 6e 5c 6e 50 21 29 87 22 |n......\|n\nP!)."|
|00000e10| 20 5b 66 69 6c 65 2d 6e | 61 6d 65 2d 64 69 72 65 | [file-n|ame-dire|
|00000e20| 63 74 6f 72 79 20 66 69 | 6c 65 2d 6c 69 73 74 20 |ctory fi|le-list |
|00000e30| 64 69 72 20 6e 69 6c 20 | 6d 61 70 63 61 72 20 23 |dir nil |mapcar #|
|00000e40| 5b 28 66 69 6c 65 29 20 | 22 08 c1 5c 6e 21 98 87 |[(file) |"..\n!..|
|00000e50| 22 20 5b 64 69 72 20 66 | 69 6c 65 2d 6e 61 6d 65 |" [dir f|ile-name|
|00000e60| 2d 64 69 72 65 63 74 6f | 72 79 20 66 69 6c 65 5d |-directo|ry file]|
|00000e70| 20 33 5d 20 64 69 72 65 | 63 74 6f 72 79 2d 66 69 | 3] dire|ctory-fi|
|00000e80| 6c 65 2d 6e 61 6d 65 20 | 61 62 73 6f 6c 75 74 65 |le-name |absolute|
|00000e90| 20 66 69 6c 65 2d 6e 61 | 6d 65 2d 61 62 73 6f 6c | file-na|me-absol|
|00000ea0| 75 74 65 2d 70 20 22 22 | 20 64 65 66 61 75 6c 74 |ute-p ""| default|
|00000eb0| 2d 64 69 72 65 63 74 6f | 72 79 5d 20 34 20 22 5c |-directo|ry] 4 "\|
|00000ec0| 0a 49 66 20 61 6c 6c 20 | 66 69 6c 65 73 20 69 6e |.If all |files in|
|00000ed0| 20 4c 49 53 54 20 61 72 | 65 20 69 6e 20 74 68 65 | LIST ar|e in the|
|00000ee0| 20 73 61 6d 65 20 64 69 | 72 65 63 74 6f 72 79 20 | same di|rectory |
|00000ef0| 72 65 74 75 72 6e 20 69 | 74 2c 20 6f 74 68 65 72 |return i|t, other|
|00000f00| 77 69 73 65 20 6e 69 6c | 2e 0a 52 65 74 75 72 6e |wise nil|..Return|
|00000f10| 65 64 20 6e 61 6d 65 20 | 68 61 73 20 6e 6f 20 74 |ed name |has no t|
|00000f20| 72 61 69 6c 69 6e 67 20 | 73 6c 61 73 68 2e 20 20 |railing |slash. |
|00000f30| 5c 22 53 61 6d 65 5c 22 | 20 6d 65 61 6e 73 20 66 |\"Same\"| means f|
|00000f40| 69 6c 65 2d 6e 61 6d 65 | 2d 64 69 72 65 63 74 6f |ile-name|-directo|
|00000f50| 72 79 20 6f 66 0a 74 68 | 65 20 66 69 6c 65 73 20 |ry of.th|e files |
|00000f60| 61 72 65 20 73 74 72 69 | 6e 67 3d 2e 20 20 46 69 |are stri|ng=. Fi|
|00000f70| 6c 65 20 6e 61 6d 65 73 | 20 69 6e 20 4c 49 53 54 |le names| in LIST|
|00000f80| 20 6d 75 73 74 20 61 6c | 6c 20 62 65 20 61 62 73 | must al|l be abs|
|00000f90| 6f 6c 75 74 65 20 6f 72 | 20 61 6c 6c 20 62 65 0a |olute or| all be.|
|00000fa0| 72 65 6c 61 74 69 76 65 | 2e 20 20 49 6d 70 6c 69 |relative|. Impli|
|00000fb0| 63 69 74 6c 79 2c 20 72 | 65 6c 61 74 69 76 65 20 |citly, r|elative |
|00000fc0| 66 69 6c 65 20 6e 61 6d | 65 73 20 61 72 65 20 69 |file nam|es are i|
|00000fd0| 6e 20 64 65 66 61 75 6c | 74 2d 64 69 72 65 63 74 |n defaul|t-direct|
|00000fe0| 6f 72 79 2e 20 20 49 66 | 0a 6f 70 74 69 6f 6e 61 |ory. If|.optiona|
|00000ff0| 6c 20 41 42 53 20 69 73 | 20 6e 6f 6e 2d 6e 69 6c |l ABS is| non-nil|
|00001000| 2c 20 74 68 65 20 72 65 | 74 75 72 6e 65 64 20 6e |, the re|turned n|
|00001010| 61 6d 65 20 77 69 6c 6c | 20 62 65 20 61 62 73 6f |ame will| be abso|
|00001020| 6c 75 74 65 2c 20 6f 74 | 68 65 72 77 69 73 65 20 |lute, ot|herwise |
|00001030| 74 68 65 0a 72 65 74 75 | 72 6e 65 64 20 6e 61 6d |the.retu|rned nam|
|00001040| 65 20 77 69 6c 6c 20 62 | 65 20 61 62 73 6f 6c 75 |e will b|e absolu|
|00001050| 74 65 20 6f 72 20 72 65 | 6c 61 74 69 76 65 20 61 |te or re|lative a|
|00001060| 73 20 70 65 72 20 74 68 | 65 20 66 69 6c 65 73 20 |s per th|e files |
|00001070| 69 6e 20 4c 49 53 54 2e | 22 5d 29 0a 28 70 72 6f |in LIST.|"]).(pro|
|00001080| 76 69 64 65 20 27 64 69 | 72 65 64 2d 63 64 29 0a |vide 'di|red-cd).|
+--------+-------------------------+-------------------------+--------+--------+